<?php

namespace plugin\agent\app\model;

use think\Model;

/**
 * t_agent_commission 佣金获取记录
 * @property integer $id (主键)
 * @property integer $type 方式 1=分销佣金
 * @property integer $user_id 用户id
 * @property integer $agent_id 分销商id
 * @property string $commission 变动余额
 * @property integer $order_id 关联的订单id
 * @property string $order_no 订单号
 * @property string $remark 变动事由
 * @property string $create_time 创建时间
 * @property string $update_time 更新时间
 */
class AgentCommission extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';

    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 't_agent_commission';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $pk = 'id';


}
